End Workflow Action
This property box enables you to choose which workflow instance will be ended by this activity. You can choose to end the workflow this activity is a part of, the workflow that initiated this workflow, or both.
Give me an example.
Example: Your workflow definition handles documents for your human resources department, and you have an Employment Status field for each employee in the "HR" template. In your Workflow, you use a Conditional Parallel activity to determine how HR documents should be handled, but if an employee's status is set to No Longer Employed, you do not need to continue routing the documents. You could use the End Workflow activity to stop routing the documents in that case.
To configure End Workflow Action
- Add the End Workflow activity to your workflow by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
- Under Action in the Properties Pane,select one or both of the following: Current Workflow to end the workflow this activity is a part of, or Parent Workflow to end the workflow that initiated the current workflow.